package com.pack;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SettingActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {		
		super.onCreate(savedInstanceState);
		setContentView(R.layout.setting);
		final Intent intentMain=new Intent(this,MainActivity.class);
		Button buttonSalva=(Button)findViewById(R.id.buttonSalva);
		buttonSalva.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				startActivity(intentMain);
				
			}
		});
		Button buttonAnnulla=(Button)findViewById(R.id.buttonAnnulla);
		buttonAnnulla.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				startActivity(intentMain);
				
			}
		});
	}
}
